package main

import (
    "github.com/gin-gonic/gin"
    "net/http"
)

func InitRouter()*gin.Engine{
    ginRouter := gin.Default()
    ginRouter.POST("/users", func(context *gin.Context) {
        context.JSON(http.StatusOK,gin.H{
            "code": 200,
            "m g": "请求成功",
        })
    })
    return ginRouter
}